500
How can I filter items for dates before a specified date

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	extree1.BeginUpdate();
	var_Column = COM::createFromVariant(extree1.Columns().Add("Dates")); com_Column = var_Column;
		com_Column.SortType(2/*SortDate*/);
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(true);
		com_Column.DisplayFilterDate(true);
		com_Column.FilterList(1026/*exShowFocusItem | exNoItems*/);
		com_Column.Filter("to 12/27/2010");
		com_Column.FilterType(4/*exDate*/);
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/27/2010",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/28/2010",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/29/2010",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/30/2010",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/31/2010",213)));
	extree1.ApplyFilter();
	extree1.EndUpdate();
}
499
Is it possible to filter dates

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	extree1.BeginUpdate();
	var_Column = COM::createFromVariant(extree1.Columns().Add("Dates")); com_Column = var_Column;
		com_Column.SortType(2/*SortDate*/);
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(true);
		com_Column.DisplayFilterDate(true);
		com_Column.FilterList(1026/*exShowFocusItem | exNoItems*/);
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/27/2010",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/28/2010",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/29/2010",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/30/2010",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("12/31/2010",213)));
	extree1.EndUpdate();
}
498
Is it possible to change the Exclude field name to something different, in the drop down filter window

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	extree1.BeginUpdate();
	extree1.LinesAtRoot(-1/*exLinesAtRoot*/);
	extree1.Description(25/*exFilterBarExclude*/,"Leaving out");
	var_Column = COM::createFromVariant(extree1.Columns().Add("Items")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.FilterList(9472/*exShowExclude | exShowFocusItem | exShowCheckBox*/);
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
	extree1.EndUpdate();
}
497
How can I display the Exclude field in the drop down filter window

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	extree1.BeginUpdate();
	extree1.LinesAtRoot(-1/*exLinesAtRoot*/);
	var_Column = COM::createFromVariant(extree1.Columns().Add("Items")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.FilterList(9472/*exShowExclude | exShowFocusItem | exShowCheckBox*/);
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
	extree1.EndUpdate();
}
496
Is it possible to show and ensure the focused item from the control, in the drop down filter window

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	extree1.BeginUpdate();
	extree1.LinesAtRoot(-1/*exLinesAtRoot*/);
	var_Column = COM::createFromVariant(extree1.Columns().Add("Items")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.FilterList(1280/*exShowFocusItem | exShowCheckBox*/);
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.SelectItem(com_Items.InsertItem(h,,"Child 2"),true);
		com_Items.ExpandItem(h,true);
	extree1.EndUpdate();
}
495
Is it possible to show only blanks items with no listed items from the control

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	extree1.BeginUpdate();
	extree1.LinesAtRoot(-1/*exLinesAtRoot*/);
	var_Column = COM::createFromVariant(extree1.Columns().Add("Items")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.FilterList(16386/*exShowBlanks | exNoItems*/);
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
	extree1.EndUpdate();
}
494
How can I include the blanks items in the drop down filter window

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	extree1.BeginUpdate();
	extree1.LinesAtRoot(-1/*exLinesAtRoot*/);
	var_Column = COM::createFromVariant(extree1.Columns().Add("Items")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.FilterList(16640/*exShowBlanks | exShowCheckBox*/);
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
	extree1.EndUpdate();
}
493
How can I select multiple items in the drop down filter window, using check-boxes

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	extree1.BeginUpdate();
	extree1.LinesAtRoot(-1/*exLinesAtRoot*/);
	var_Column = COM::createFromVariant(extree1.Columns().Add("Items")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.FilterList(256/*exShowCheckBox*/);
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
	extree1.EndUpdate();
}
492
Is it possible to allow a single item being selected in the drop down filter window

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	extree1.BeginUpdate();
	extree1.LinesAtRoot(-1/*exLinesAtRoot*/);
	var_Column = COM::createFromVariant(extree1.Columns().Add("Items")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.FilterList(128/*exSingleSel*/);
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
	extree1.EndUpdate();
}
491
How can I display no (All) item in the drop down filter window

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	extree1.BeginUpdate();
	extree1.LinesAtRoot(-1/*exLinesAtRoot*/);
	extree1.Description(0/*exFilterBarAll*/,"");
	var_Column = COM::createFromVariant(extree1.Columns().Add("Items")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(true);
		com_Column.FilterList(2/*exNoItems*/);
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
	extree1.EndUpdate();
}
490
Is it possible to display no items in the drop down filter window, so only the pattern is visible

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	extree1.BeginUpdate();
	extree1.LinesAtRoot(-1/*exLinesAtRoot*/);
	var_Column = COM::createFromVariant(extree1.Columns().Add("Items")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(true);
		com_Column.FilterList(2/*exNoItems*/);
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
	extree1.EndUpdate();
}
489
How do I hide the selection

public void init()
{
	COM com_Column,com_Columns,com_Items;
	anytype var_Column,var_Columns,var_Items;
	str var_s;
	;

	super();

	extree1.BeginUpdate();
	extree1.MarkSearchColumn(false);
	extree1.SelForeColor(extree1.ForeColor());
	extree1.SelBackColor(extree1.BackColor());
	extree1.ShowFocusRect(false);
	var_Columns = extree1.Columns(); com_Columns = var_Columns;
		var_Column = COM::createFromVariant(com_Columns.Add("Format")); com_Column = var_Column;
			var_s = "type(value) in (0,1) ? 'null' : ( dbl(value)<0 ? '<fgcolor=FF0000>'+ (value format '2|.|3|,|1' ) : (dbl(value)>0 ? '<fgcolor=000";
			var_s = var_s + "0FF>+'+(value format '2|.|3|,' ): '0.00') )";
			com_Column.FormatColumn(var_s);
			com_Column.Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromInt(10));
		com_Items.AddItem(COMVariant::createFromInt(-8));
	extree1.EndUpdate();
}
488
How do I access the cells, or how do I get the values in the columns
public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h;
	;

	super();

	var_Columns = extree1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("C1");
		com_Columns.Add("C2");
		com_Columns.Add("C3");
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Item 1");
		com_Items.CellCaption(h,COMVariant::createFromInt(1),"SubItem 1.1");
		com_Items.CellCaption(h,COMVariant::createFromInt(2),"SubItem 1.2");
		print( com_Items.CellCaption(h,COMVariant::createFromInt(0)) );
}
487
Is it possible to load child items when clicking the +/- button

// BeforeExpandItem event - Fired before an item is about to be expanded (collapsed).
void onEvent_BeforeExpandItem(int   _Item,COMVariant /*variant*/   _Cancel)
{
	COM com_Items;
	anytype var_Items;
	;
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.InsertItem(_Item,,"new");
		com_Items.ItemHasChildren(com_Items.InsertItem(_Item,,"new"),true);
		com_Items.InsertItem(_Item,,"new");
}

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	extree1.LinesAtRoot(-1/*exLinesAtRoot*/);
	extree1.Columns().Add("Default");
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.ItemHasChildren(com_Items.AddItem("aka"),true);
		com_Items.AddItem("next item");
}
486
How can I change the check-boxes appearance

public void init()
{
	COM com_Appearance,com_Column,com_Items;
	anytype var_Appearance,var_Column,var_Items;
	int h;
	;

	super();

	extree1.LinesAtRoot(-1/*exLinesAtRoot*/);
	var_Column = COM::createFromVariant(extree1.Columns().Add("Default")); com_Column = var_Column;
		com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column.PartialCheck(true);
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
	var_Appearance = extree1.VisualAppearance(); com_Appearance = var_Appearance;
		com_Appearance.Add(1,"XP:Button 3 12");
		com_Appearance.Add(2,"XP:Button 3 11");
		com_Appearance.Add(3,"XP:Button 3 10");
	extree1.CheckImage(0/*Unchecked*/,16777216);
	extree1.CheckImage(1/*Checked*/,33554432);
	extree1.CheckImage(2/*PartialChecked*/,50331648);
}
485
How can I initiate the OLE Drag and Drop support

// OLEStartDrag event is not supported. Use the DragEnter,DragLeave,DragOver, DragDrop ... events.
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	extree1.OLEDropMode(1/*exOLEDropManual*/);
	extree1.LinesAtRoot(-1/*exLinesAtRoot*/);
	extree1.Columns().Add("Default");
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
}
484
How can I apply the same ConditionalFormat on more than 1(one) column (multiple columns and not on item)

public void init()
{
	COM com_Columns,com_ConditionalFormat,com_ConditionalFormat1,com_Items;
	anytype var_Columns,var_ConditionalFormat,var_ConditionalFormat1,var_Items;
	;

	super();

	extree1.BeginUpdate();
	var_ConditionalFormat = COM::createFromObject(extree1.ConditionalFormats()).Add("1","K1"); com_ConditionalFormat = var_ConditionalFormat;
		com_ConditionalFormat.BackColor(WinApi::RGB2int(255,0,0));
		com_ConditionalFormat.ApplyTo(1);
	var_ConditionalFormat1 = COM::createFromObject(extree1.ConditionalFormats()).Add("1","K2"); com_ConditionalFormat1 = var_ConditionalFormat1;
		com_ConditionalFormat1.BackColor(WinApi::RGB2int(255,0,0));
		com_ConditionalFormat1.ApplyTo(2);
	extree1.MarkSearchColumn(false);
	extree1.DrawGridLines(-2/*exRowLines*/);
	var_Columns = extree1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Column 1");
		com_Columns.Add("Column 2");
		com_Columns.Add("Column 3");
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.AddItem();
		com_Items.AddItem();
		com_Items.AddItem();
	extree1.EndUpdate();
}
483
Is it possible to display empty strings for 0 values

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	COM::createFromVariant(extree1.Columns().Add("Currency")).FormatColumn("dbl(value) ? currency(dbl(value)) : ``");
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromReal(1.23));
		com_Items.AddItem(COMVariant::createFromReal(2.34));
		com_Items.AddItem(COMVariant::createFromInt(0));
		com_Items.AddItem(COMVariant::createFromReal(10000.99));
}
482
Is it possible to display empty strings for 0 values

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	extree1.Columns().Add("Number");
	COM::createFromVariant(extree1.Columns().Add("Currency")).ComputedField("%0 ? currency(%0) : ``");
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromReal(1.23));
		com_Items.AddItem(COMVariant::createFromReal(2.34));
		com_Items.AddItem(COMVariant::createFromInt(0));
		com_Items.AddItem(COMVariant::createFromReal(10000.99));
}
481
How can I get the list of items as they are displayed
public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	extree1.BeginUpdate();
	extree1.BackColorAlternate(WinApi::RGB2int(240,240,240));
	extree1.Columns().Add("Names");
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.AddItem("Mantel");
		com_Items.AddItem("Mechanik");
		com_Items.AddItem("Motor");
		com_Items.AddItem("Murks");
		com_Items.AddItem("Märchen");
		com_Items.AddItem("Möhren");
		com_Items.AddItem("Mühle");
	var_Column = COM::createFromObject(extree1.Columns()).Item(COMVariant::createFromInt(0)); com_Column = var_Column;
	com_Column.SortOrder(1/*SortAscending*/);
	extree1.EndUpdate();
	print( extree1.GetItems(COMVariant::createFromInt(1)) );
}
480
Is posible to reduce the size of the picture to be shown in the column's caption

public void init()
{
	;

	super();

	extree1.BeginUpdate();
	extree1.HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif");
	extree1.HeaderHeight(48);
	COM::createFromVariant(extree1.Columns().Add("DefaultSize")).HTMLCaption("Default-Size <img>pic1</img> Picture");
	COM::createFromVariant(extree1.Columns().Add("CustomSize")).HTMLCaption("Custom-Size <img>pic1:16</img> Picture");
	extree1.EndUpdate();
}
479
How can I change the color, font, bold etc for the items/cells in the same column or for the entire column

public void init()
{
	COM com_Column,com_ConditionalFormat,com_Items;
	anytype var_Column,var_ConditionalFormat,var_Items;
	;

	super();

	extree1.BeginUpdate();
	extree1.MarkSearchColumn(false);
	var_ConditionalFormat = COM::createFromObject(extree1.ConditionalFormats()).Add("1"); com_ConditionalFormat = var_ConditionalFormat;
		com_ConditionalFormat.Bold(true);
		com_ConditionalFormat.ForeColor(WinApi::RGB2int(255,0,0));
		com_ConditionalFormat.ApplyTo(1);
	extree1.Columns().Add("C1");
	var_Column = COM::createFromVariant(extree1.Columns().Add("C2")); com_Column = var_Column;
		com_Column.HeaderBold(true);
		com_Column.HTMLCaption("<fgcolor=FF0000>C2");
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem(COMVariant::createFromInt(10)),COMVariant::createFromInt(1),COMVariant::createFromInt(11));
		com_Items.CellCaption(com_Items.AddItem(COMVariant::createFromInt(12)),COMVariant::createFromInt(1),COMVariant::createFromInt(13));
	extree1.EndUpdate();
}
478
The item is not getting selected when clicking the cell's checkbox. What should I do

// CellStateChanged event - Fired after cell's state has been changed.
void onEvent_CellStateChanged(int   _Item,int   _ColIndex)
{
	;
	extree1.Items().SelectItem(_Item,true);
}

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	COM::createFromVariant(extree1.Columns().Add("Check")).Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromInt(0));
		com_Items.AddItem(COMVariant::createFromInt(1));
		com_Items.AddItem(COMVariant::createFromInt(2));
		com_Items.AddItem(COMVariant::createFromInt(3));
}
477
Is it possible to limit the height of the item while resizing

// AddItem event - Occurs after a new Item has been inserted to Items collection.
void onEvent_AddItem(int   _Item)
{
	;
	extree1.Items().ItemMinHeight(_Item,18);
	extree1.Items().ItemMaxHeight(_Item,72);
}

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	extree1.BeginUpdate();
	extree1.ItemsAllowSizing(-1/*exResizeItem*/);
	extree1.ScrollBySingleLine(false);
	extree1.BackColorAlternate(WinApi::RGB2int(240,240,240));
	extree1.Columns().Add("Names");
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.AddItem("Mantel");
		com_Items.AddItem("Mechanik");
		com_Items.AddItem("Motor");
		com_Items.AddItem("Murks");
		com_Items.AddItem("Märchen");
		com_Items.AddItem("Möhren");
		com_Items.AddItem("Mühle");
	var_Column = COM::createFromObject(extree1.Columns()).Item(COMVariant::createFromInt(0)); com_Column = var_Column;
	com_Column.SortOrder(1/*SortAscending*/);
	extree1.EndUpdate();
}
476
Is it possible to copy the hierarchy of the control using the GetItems method

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	extree1.LinesAtRoot(-1/*exLinesAtRoot*/);
	extree1.Columns().Add("Def");
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
	extree1.PutItems(extree1.GetItems(COMVariant::createFromInt(-1)));
}
475
How can I show the child items with no identation

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	extree1.LinesAtRoot(5/*exGroupLinesOutside*/);
	extree1.Indent(12);
	extree1.HasLines(2/*exThinLine*/);
	extree1.Columns().Add("Default");
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"Child 3");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"Child 3");
}
474
Is there other ways of showing the hierarchy lines (exGroupLinesAtRoot)

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	extree1.LinesAtRoot(1/*exGroupLinesAtRoot*/);
	extree1.Indent(12);
	extree1.Columns().Add("Default");
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"Child 3");
		com_Items.ExpandItem(h,true);
}
473
Is there other ways of showing the hierarchy lines (exGroupLinesOutside)

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	extree1.LinesAtRoot(5/*exGroupLinesOutside*/);
	extree1.Indent(12);
	extree1.Columns().Add("Default");
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"Child 3");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"Child 3");
}
472
Is there other ways of showing the hierarchy lines (exGroupLinesInsideLeaf)

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	extree1.LinesAtRoot(4/*exGroupLinesInsideLeaf*/);
	extree1.Indent(12);
	extree1.Columns().Add("Default");
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"Child 3");
		com_Items.ExpandItem(h,true);
}
471
Is there other ways of showing the hierarchy lines (exGroupLinesInside)

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	extree1.LinesAtRoot(3/*exGroupLinesInside*/);
	extree1.Indent(12);
	extree1.Columns().Add("Default");
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"Child 3");
		com_Items.ExpandItem(h,true);
}
470
Is there other ways of showing the hierarchy lines (exGroupLines)

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	extree1.LinesAtRoot(2/*exGroupLines*/);
	extree1.Indent(12);
	extree1.Columns().Add("Default");
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(com_Items.InsertItem(h,,"Child 2"),,"SubChild 2");
		com_Items.InsertItem(h,,"Child 3");
		com_Items.ExpandItem(h,true);
}
469
Does your control supports multiple lines tooltip

public void init()
{
	str var_s;
	;

	super();

	extree1.HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif");
	extree1.ToolTipDelay(1);
	var_s = "<br><font Tahoma;10>This</font> is a <b>multi-lines</b> tooltip assigned to a column. The tooltip supports built-in HTML tags, i";
	var_s = var_s + "cons and pictures.<br><br><br><img>pic1</img> picture ... <br><br>";
	COM::createFromVariant(extree1.Columns().Add("tootip")).ToolTip(var_s);
}
468
How can I prevent highlighting the column from the cursor - point

public void init()
{
	str var_s;
	;

	super();

	var_s = "gBFLBCJwBAEHhEJAEGg4BI0IQAAYAQGKIYBkAKBQAGaAoDDUOQzQwAAxDKKUEwsACEIrjKCYVgOHYYRrIMYgBCMJhLEoaZLhEZRQiqDYtRDFQBSDDcPw/EaRZohGaYJg";
	var_s = var_s + "EgI=";
	extree1.VisualAppearance().Add(1,COMVariant::createFromStr(var_s));
	extree1.Background(32/*exCursorHoverColumn*/,0x1000000);
	COM::createFromVariant(extree1.Columns().Add("S")).Width(32);
	COM::createFromVariant(extree1.Columns().Add("Level 1")).LevelKey(COMVariant::createFromInt(1));
	COM::createFromVariant(extree1.Columns().Add("Level 2")).LevelKey(COMVariant::createFromInt(1));
	COM::createFromVariant(extree1.Columns().Add("Level 3")).LevelKey(COMVariant::createFromInt(1));
	COM::createFromVariant(extree1.Columns().Add("E1")).Width(32);
	COM::createFromVariant(extree1.Columns().Add("E2")).Width(32);
	COM::createFromVariant(extree1.Columns().Add("E3")).Width(32);
	COM::createFromVariant(extree1.Columns().Add("E4")).Width(32);
}
467
Is there any option to show the tooltip programmatically

// MouseMove event - Occurs when the user moves the mouse.
void onEvent_MouseMove(int   _Button,int   _Shift,int   _X,int   _Y)
{
	;
	extree1.ShowToolTip(extree1.ItemFromPoint(-1,-1,c,hit),"","8","8");
}

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	extree1.BeginUpdate();
	extree1.Columns().Add("Def");
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item 1");
		com_Items.AddItem("Item 2");
		com_Items.AddItem("Item 3");
	extree1.EndUpdate();
}
466
Is it possible to prevent changing the rows/items colors by selection

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	extree1.SelBackMode(1/*exTransparent*/);
	COM::createFromVariant(extree1.Columns().Add("HTML")).Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.AddItem("<font ;12>T</font>his <b>is</b> an <a>html</a> <font Tahoma><fgcolor=FF0000>text</fgcolor></font>.");
		com_Items.SelectItem(com_Items.AddItem("<font ;6>This</font> <b>is</b> another <a>html</a> <font Tahoma><fgcolor=FF0000>text</fgcolor></font>."),true);
}
465
Is it possible to specify the cell's value but still want to display some formatted text instead the value

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	extree1.BeginUpdate();
	extree1.MarkSearchColumn(false);
	extree1.Columns().Add("Value");
	extree1.Columns().Add("FormatCell");
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem(COMVariant::createFromInt(1));
		com_Items.CellCaption(h,COMVariant::createFromInt(1),COMVariant::createFromInt(12));
		com_Items.FormatCell(h,COMVariant::createFromInt(1),"currency(value)");
		h = com_Items.AddItem(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Items.CellCaption(h,COMVariant::createFromInt(1),COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Items.CellCaptionFormat(h,COMVariant::createFromInt(1),1/*exHTML*/);
		com_Items.FormatCell(h,COMVariant::createFromInt(1),"longdate(value) replace '2001' with '<b>2001</b>'");
	extree1.EndUpdate();
}
464
How can I simulate displaying groups

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h,h1;
	;

	super();

	extree1.BeginUpdate();
	extree1.HasLines(0/*exNoLine*/);
	extree1.ScrollBySingleLine(true);
	extree1.MarkSearchColumn(false);
	var_Columns = extree1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Name");
		com_Columns.Add("A");
		com_Columns.Add("B");
		com_Columns.Add("C");
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Group 1");
		com_Items.CellHAlignment(h,COMVariant::createFromInt(0),1/*CenterAlignment*/);
		com_Items.ItemDivider(h,0);
		com_Items.ItemDividerLineAlignment(h,3/*DividerBoth*/);
		com_Items.ItemHeight(h,24);
		com_Items.SortableItem(h,false);
		h1 = com_Items.InsertItem(h,,"Child 1");
		com_Items.CellCaption(h1,COMVariant::createFromInt(1),COMVariant::createFromInt(1));
		com_Items.CellCaption(h1,COMVariant::createFromInt(2),COMVariant::createFromInt(2));
		com_Items.CellCaption(h1,COMVariant::createFromInt(3),COMVariant::createFromInt(3));
		h1 = com_Items.InsertItem(h,,"Child 2");
		com_Items.CellCaption(h1,COMVariant::createFromInt(1),COMVariant::createFromInt(4));
		com_Items.CellCaption(h1,COMVariant::createFromInt(2),COMVariant::createFromInt(5));
		com_Items.CellCaption(h1,COMVariant::createFromInt(3),COMVariant::createFromInt(6));
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Group 2");
		com_Items.CellHAlignment(h,COMVariant::createFromInt(0),1/*CenterAlignment*/);
		com_Items.ItemDivider(h,0);
		com_Items.ItemDividerLineAlignment(h,3/*DividerBoth*/);
		com_Items.ItemHeight(h,24);
		com_Items.SortableItem(h,false);
		h1 = com_Items.InsertItem(h,,"Child 1");
		com_Items.CellCaption(h1,COMVariant::createFromInt(1),COMVariant::createFromInt(1));
		com_Items.CellCaption(h1,COMVariant::createFromInt(2),COMVariant::createFromInt(2));
		com_Items.CellCaption(h1,COMVariant::createFromInt(3),COMVariant::createFromInt(3));
		h1 = com_Items.InsertItem(h,,"Child 2");
		com_Items.CellCaption(h1,COMVariant::createFromInt(1),COMVariant::createFromInt(4));
		com_Items.CellCaption(h1,COMVariant::createFromInt(2),COMVariant::createFromInt(5));
		com_Items.CellCaption(h1,COMVariant::createFromInt(3),COMVariant::createFromInt(6));
		com_Items.ExpandItem(h,true);
	extree1.EndUpdate();
}
463
How can I collapse all items

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	extree1.BeginUpdate();
	extree1.LinesAtRoot(-1/*exLinesAtRoot*/);
	extree1.Columns().Add("Items");
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(0,false);
	extree1.EndUpdate();
}
462
How can I expand all items

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	extree1.BeginUpdate();
	extree1.LinesAtRoot(-1/*exLinesAtRoot*/);
	extree1.Columns().Add("Items");
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(0,true);
	extree1.EndUpdate();
}
461
Can I use PNG images to display pictures in the control

public void init()
{
	;

	super();

	extree1.HTMLPicture("pic1","c:\\exontrol\\images\\card.png");
	extree1.HeaderHeight(48);
	COM::createFromVariant(extree1.Columns().Add("ColumnName")).HTMLCaption("<b>HTML</b> Column <img>pic1</img> Picture");
}
460
Is it possible to move an item from a parent to another

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	extree1.BeginUpdate();
	extree1.LinesAtRoot(-1/*exLinesAtRoot*/);
	extree1.Columns().Add("Items");
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.AddItem("A");
		com_Items.AddItem("B");
		com_Items.InsertItem(com_Items.AddItem("C"),"","D");
		com_Items.SetParent(com_Items.FindItem("D",COMVariant::createFromInt(0)),com_Items.FindItem("A",COMVariant::createFromInt(0)));
	extree1.EndUpdate();
}
459
How can I change the identation for an item

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	extree1.BeginUpdate();
	extree1.LinesAtRoot(-1/*exLinesAtRoot*/);
	extree1.Columns().Add("Items");
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.AddItem("A");
		com_Items.AddItem("B");
		com_Items.InsertItem(com_Items.AddItem("C"),"","D");
		com_Items.SetParent(com_Items.FindItem("D",COMVariant::createFromInt(0)),0);
	extree1.EndUpdate();
}
458
How can I filter programatically using more columns

public void init()
{
	COM com_Column,com_Column1,com_Columns,com_Items;
	anytype var_Column,var_Column1,var_Columns,var_Items;
	;

	super();

	extree1.BeginUpdate();
	extree1.MarkSearchColumn(false);
	var_Columns = extree1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Car");
		com_Columns.Add("Equipment");
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem("Mazda"),COMVariant::createFromInt(1),"Air Bag");
		com_Items.CellCaption(com_Items.AddItem("Toyota"),COMVariant::createFromInt(1),"Air Bag,Air condition");
		com_Items.CellCaption(com_Items.AddItem("Ford"),COMVariant::createFromInt(1),"Air condition");
		com_Items.CellCaption(com_Items.AddItem("Nissan"),COMVariant::createFromInt(1),"Air Bag,ABS,ESP");
		com_Items.CellCaption(com_Items.AddItem("Mazda"),COMVariant::createFromInt(1),"Air Bag, ABS,ESP");
		com_Items.CellCaption(com_Items.AddItem("Mazda"),COMVariant::createFromInt(1),"ABS,ESP");
	var_Column = COM::createFromObject(extree1.Columns()).Item("Car"); com_Column = var_Column;
		com_Column.FilterType(240/*exFilter*/);
		com_Column.Filter("Mazda");
	var_Column1 = COM::createFromObject(extree1.Columns()).Item("Equipment"); com_Column1 = var_Column1;
		com_Column1.FilterType(3/*exPattern*/);
		com_Column1.Filter("*ABS*|*ESP*");
	extree1.ApplyFilter();
	extree1.EndUpdate();
}
457
Is it possible to colour a particular column, I mean the cell's foreground color

public void init()
{
	COM com_Columns,com_ConditionalFormat,com_Items;
	anytype var_Columns,var_ConditionalFormat,var_Items;
	;

	super();

	extree1.BeginUpdate();
	var_ConditionalFormat = COM::createFromObject(extree1.ConditionalFormats()).Add("1"); com_ConditionalFormat = var_ConditionalFormat;
		com_ConditionalFormat.ForeColor(WinApi::RGB2int(255,0,0));
		com_ConditionalFormat.ApplyTo(1);
	extree1.MarkSearchColumn(false);
	var_Columns = extree1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Column 1");
		com_Columns.Add("Column 2");
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem(COMVariant::createFromInt(0)),COMVariant::createFromInt(1),COMVariant::createFromInt(1));
		com_Items.CellCaption(com_Items.AddItem(COMVariant::createFromInt(2)),COMVariant::createFromInt(1),COMVariant::createFromInt(3));
		com_Items.CellCaption(com_Items.AddItem(COMVariant::createFromInt(4)),COMVariant::createFromInt(1),COMVariant::createFromInt(5));
	extree1.EndUpdate();
}
456
Is it possible to colour a particular column for specified values

public void init()
{
	COM com_Columns,com_ConditionalFormat,com_Items;
	anytype var_Columns,var_ConditionalFormat,var_Items;
	;

	super();

	extree1.BeginUpdate();
	var_ConditionalFormat = COM::createFromObject(extree1.ConditionalFormats()).Add("int(%1) in (3,4,5)"); com_ConditionalFormat = var_ConditionalFormat;
		com_ConditionalFormat.BackColor(WinApi::RGB2int(255,0,0));
		com_ConditionalFormat.ApplyTo(1);
	extree1.MarkSearchColumn(false);
	var_Columns = extree1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Column 1");
		com_Columns.Add("Column 2");
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem(COMVariant::createFromInt(0)),COMVariant::createFromInt(1),COMVariant::createFromInt(1));
		com_Items.CellCaption(com_Items.AddItem(COMVariant::createFromInt(2)),COMVariant::createFromInt(1),COMVariant::createFromInt(3));
		com_Items.CellCaption(com_Items.AddItem(COMVariant::createFromInt(4)),COMVariant::createFromInt(1),COMVariant::createFromInt(5));
	extree1.EndUpdate();
}
455
Is it possible to colour a particular column

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	;

	super();

	extree1.BeginUpdate();
	extree1.MarkSearchColumn(false);
	var_Columns = extree1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Column 1");
		COM::createFromVariant(com_Columns.Add("Column 2")).Def(4/*exCellBackColor*/,COMVariant::createFromInt(255));
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.CellCaption(com_Items.AddItem(COMVariant::createFromInt(0)),COMVariant::createFromInt(1),COMVariant::createFromInt(1));
		com_Items.CellCaption(com_Items.AddItem(COMVariant::createFromInt(2)),COMVariant::createFromInt(1),COMVariant::createFromInt(3));
		com_Items.CellCaption(com_Items.AddItem(COMVariant::createFromInt(4)),COMVariant::createFromInt(1),COMVariant::createFromInt(5));
	extree1.EndUpdate();
}
454
How do i get all the children items that are under a certain parent Item handle
public void init()
{
	COM com_Items,com_Items1;
	anytype var_Items,var_Items1;
	int h,hChild;
	;

	super();

	extree1.BeginUpdate();
	extree1.LinesAtRoot(-1/*exLinesAtRoot*/);
	extree1.Columns().Add("P");
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
	var_Items1 = extree1.Items(); com_Items1 = var_Items1;
		hChild = com_Items1.ItemChild(com_Items1.FirstVisibleItem());
		print( com_Items1.CellCaption(hChild,COMVariant::createFromInt(0)) );
		print( com_Items1.CellCaption(com_Items1.NextSiblingItem(hChild),COMVariant::createFromInt(0)) );
	extree1.EndUpdate();
}
453
How can I get the caption of focused item
// SelectionChanged event - Fired after a new item has been selected.
void onEvent_SelectionChanged()
{
	COM com_Items;
	anytype var_Items;
	;
	var_Items = extree1.Items(); com_Items = var_Items;
		print( "Handle" );
		print( com_Items.FocusItem() );
		print( "Caption" );
		print( com_Items.CellCaption(com_Items.FocusItem(),COMVariant::createFromInt(0)) );
}

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	extree1.BeginUpdate();
	extree1.LinesAtRoot(-1/*exLinesAtRoot*/);
	extree1.Columns().Add("Items");
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("R1");
		com_Items.InsertItem(h,,"Cell 1.1");
		com_Items.InsertItem(h,,"Cell 1.2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("R2");
		com_Items.InsertItem(h,,"Cell 2.1");
		com_Items.InsertItem(h,,"Cell 2.2");
		com_Items.ExpandItem(h,true);
	extree1.EndUpdate();
}
452
How can I get the caption of selected item
// SelectionChanged event - Fired after a new item has been selected.
void onEvent_SelectionChanged()
{
	COM com_Items;
	anytype var_Items;
	;
	var_Items = extree1.Items(); com_Items = var_Items;
		print( "Handle" );
		print( com_Items.SelectedItem(0) );
		print( "Caption" );
		print( com_Items.CellCaption(com_Items.SelectedItem(0),COMVariant::createFromInt(0)) );
}

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	extree1.BeginUpdate();
	extree1.LinesAtRoot(-1/*exLinesAtRoot*/);
	extree1.Columns().Add("Items");
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("R1");
		com_Items.InsertItem(h,,"Cell 1.1");
		com_Items.InsertItem(h,,"Cell 1.2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("R2");
		com_Items.InsertItem(h,,"Cell 2.1");
		com_Items.InsertItem(h,,"Cell 2.2");
		com_Items.ExpandItem(h,true);
	extree1.EndUpdate();
}
451
Can I display the cell's check box after the text

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	var_Column = COM::createFromVariant(extree1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column.Def(34/*exCellDrawPartsOrder*/,"caption,check");
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.CellHasCheckBox(com_Items.AddItem("Caption 1"),COMVariant::createFromInt(0),true);
		com_Items.CellHasCheckBox(com_Items.AddItem("Caption 2"),COMVariant::createFromInt(0),true);
}
450
Can I change the order of the parts in the cell, as checkbox after the text, and so on

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	str var_s;
	;

	super();

	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	extree1.Images(COMVariant::createFromStr(var_s));
	COM::createFromVariant(extree1.Columns().Add("Column")).Def(34/*exCellDrawPartsOrder*/,"caption,check,icon,icons,picture");
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Text");
		com_Items.CellImage(h,COMVariant::createFromInt(0),1);
		com_Items.CellHasCheckBox(h,COMVariant::createFromInt(0),true);
}
449
Can I have an image displayed after the text. Can I get that effect without using HTML content

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	str var_s;
	;

	super();

	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	extree1.Images(COMVariant::createFromStr(var_s));
	COM::createFromVariant(extree1.Columns().Add("Column")).Def(34/*exCellDrawPartsOrder*/,"caption,icon,check,icons,picture");
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Text");
		com_Items.CellImage(h,COMVariant::createFromInt(0),1);
}
448
Does your control support RightToLeft property for RTL languages or right to left

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	extree1.BeginUpdate();
	extree1.ScrollBars(15/*exDisableBoth*/);
	extree1.LinesAtRoot(-1/*exLinesAtRoot*/);
	var_Column = COM::createFromVariant(extree1.Columns().Add("P1")); com_Column = var_Column;
		com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column.PartialCheck(true);
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
	extree1.RightToLeft(true);
	extree1.EndUpdate();
}
447
Is there any way to display the vertical scroll bar on the left side, as I want to align my data to the right

public void init()
{
	COM com_Columns;
	anytype var_Columns;
	;

	super();

	extree1.BeginUpdate();
	extree1.ScrollBars(15/*exDisableBoth*/);
	var_Columns = extree1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("C1");
		com_Columns.Add("C2");
		com_Columns.Add("C3");
		com_Columns.Add("C4");
		com_Columns.Add("C5");
		com_Columns.Add("C6");
		com_Columns.Add("C7");
		com_Columns.Add("C8");
	extree1.RightToLeft(true);
	extree1.EndUpdate();
}
446
How can I use the CASE statement (CASE usage)

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	str var_s;
	;

	super();

	extree1.BeginUpdate();
	COM::createFromVariant(extree1.Columns().Add("Value")).Width(24);
	var_Column = COM::createFromVariant(extree1.Columns().Add("CASE - statment")); com_Column = var_Column;
		var_s = "%0 case (default:'not found';1:%0;2:2*%0;3:3*%0;4:4*%0;5:5*%0;7:'Seven';8:'Eight';9:'Nine';11:'Eleven';13:'Thirtheen';14:'Fourth";
		var_s = var_s + "een')";
		com_Column.ComputedField(var_s);
		com_Column.ToolTip(com_Column.ComputedField());
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromInt(0));
		com_Items.AddItem(COMVariant::createFromInt(1));
		com_Items.AddItem(COMVariant::createFromInt(2));
	extree1.EndUpdate();
}
445
How can I use the CASE statement (CASE usage)

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	str var_s;
	;

	super();

	extree1.BeginUpdate();
	COM::createFromVariant(extree1.Columns().Add("Value")).Width(24);
	var_Column = COM::createFromVariant(extree1.Columns().Add("CASE - statment")); com_Column = var_Column;
		var_s = "%0 case (default:'not found';1:'One';2:'Two';3:'Three';4:'Four';5:'Five';7:'Seven';8:'Eight';9:'Nine';11:'Eleven';13:'Thirtheen'";
		var_s = var_s + ";14:'Fourtheen')";
		com_Column.ComputedField(var_s);
		com_Column.ToolTip(com_Column.ComputedField());
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromInt(0));
		com_Items.AddItem(COMVariant::createFromInt(1));
		com_Items.AddItem(COMVariant::createFromInt(2));
	extree1.EndUpdate();
}
444
I have seen the IN function but it returns -1 or 0. How can I display the value being found ( SWITCH usage )

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	extree1.BeginUpdate();
	COM::createFromVariant(extree1.Columns().Add("Value")).Width(24);
	var_Column = COM::createFromVariant(extree1.Columns().Add("SWITCH - statment")); com_Column = var_Column;
		com_Column.ComputedField("%0 switch ('not found', 1,2,3,4,5,7,8,9,11,13,14)");
		com_Column.ToolTip(com_Column.ComputedField());
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromInt(0));
		com_Items.AddItem(COMVariant::createFromInt(1));
		com_Items.AddItem(COMVariant::createFromInt(2));
	extree1.EndUpdate();
}
443
I have a large collection of constant values and using or operator is a time consuming (IN usage). Is there any way to increase the speed to check if a value maches the collection

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	extree1.BeginUpdate();
	COM::createFromVariant(extree1.Columns().Add("Value")).Width(24);
	var_Column = COM::createFromVariant(extree1.Columns().Add("IN - statment")); com_Column = var_Column;
		com_Column.ComputedField("%0 in (1,2,3,4,5,7,8,9,11,13,14) ? 'found' : ''");
		com_Column.ToolTip(com_Column.ComputedField());
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromInt(0));
		com_Items.AddItem(COMVariant::createFromInt(1));
		com_Items.AddItem(COMVariant::createFromInt(2));
	extree1.EndUpdate();
}
442
Is is possible to use HTML tags to display in the filter caption

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	extree1.BeginUpdate();
	extree1.FilterBarPromptVisible(true);
	extree1.FilterBarCaption("This is a bit of text being displayed in the filter bar.");
	extree1.Columns().Add("");
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item 1");
		com_Items.AddItem("Item 2");
		com_Items.AddItem("Item 3");
	extree1.EndUpdate();
}
441
How can I find the number of items after filtering
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	extree1.BeginUpdate();
	extree1.Columns().Add("");
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("");
		com_Items.CellCaption(h,COMVariant::createFromInt(0),com_Items.VisibleItemCount());
	extree1.EndUpdate();
}
440
How can I change the filter caption

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h0;
	;

	super();

	extree1.BeginUpdate();
	extree1.ColumnAutoResize(true);
	extree1.ContinueColumnScroll(0);
	extree1.MarkSearchColumn(false);
	extree1.SearchColumnIndex(1);
	extree1.FilterBarPromptVisible(true);
	extree1.FilterBarPromptType(12801/*exFilterPromptWords | exFilterPromptContainsAll*/);
	extree1.FilterBarPromptPattern("london robert");
	extree1.FilterBarCaption("<r>Found: ... ");
	var_Columns = extree1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	var_Items = extree1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem("Nancy Davolio");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Andrew Fuller");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Vice President, Sales");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Tacoma");
		com_Items.SelectItem(h0,true);
		h0 = com_Items.AddItem("Janet Leverling");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Kirkland");
		h0 = com_Items.AddItem("Margaret Peacock");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Redmond");
		h0 = com_Items.AddItem("Steven Buchanan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Manager");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Michael Suyama");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Robert King");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Laura Callahan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Inside Sales Coordinator");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Anne Dodsworth");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
	extree1.EndUpdate();
}
439
While using the filter prompt is it is possible to use wild characters

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h0;
	;

	super();

	extree1.BeginUpdate();
	extree1.ColumnAutoResize(true);
	extree1.ContinueColumnScroll(0);
	extree1.MarkSearchColumn(false);
	extree1.SearchColumnIndex(1);
	extree1.FilterBarPromptVisible(true);
	extree1.FilterBarPromptType(16/*exFilterPromptPattern*/);
	extree1.FilterBarPromptPattern("lon* seat*");
	var_Columns = extree1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	var_Items = extree1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem("Nancy Davolio");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Andrew Fuller");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Vice President, Sales");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Tacoma");
		com_Items.SelectItem(h0,true);
		h0 = com_Items.AddItem("Janet Leverling");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Kirkland");
		h0 = com_Items.AddItem("Margaret Peacock");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Redmond");
		h0 = com_Items.AddItem("Steven Buchanan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Manager");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Michael Suyama");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Robert King");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Laura Callahan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Inside Sales Coordinator");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Anne Dodsworth");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
	extree1.EndUpdate();
}
438
How can I list all items that contains any of specified words, not necessary at the beggining

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h0;
	;

	super();

	extree1.BeginUpdate();
	extree1.ColumnAutoResize(true);
	extree1.ContinueColumnScroll(0);
	extree1.MarkSearchColumn(false);
	extree1.SearchColumnIndex(1);
	extree1.FilterBarPromptVisible(true);
	extree1.FilterBarPromptType(4610/*exFilterPromptStartWords | exFilterPromptContainsAny*/);
	extree1.FilterBarPromptPattern("london davolio");
	var_Columns = extree1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	var_Items = extree1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem("Nancy Davolio");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Andrew Fuller");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Vice President, Sales");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Tacoma");
		com_Items.SelectItem(h0,true);
		h0 = com_Items.AddItem("Janet Leverling");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Kirkland");
		h0 = com_Items.AddItem("Margaret Peacock");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Redmond");
		h0 = com_Items.AddItem("Steven Buchanan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Manager");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Michael Suyama");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Robert King");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Laura Callahan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Inside Sales Coordinator");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Anne Dodsworth");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
	extree1.EndUpdate();
}
437
How can I list all items that contains any of specified words, not strings

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h0;
	;

	super();

	extree1.BeginUpdate();
	extree1.ColumnAutoResize(true);
	extree1.ContinueColumnScroll(0);
	extree1.MarkSearchColumn(false);
	extree1.SearchColumnIndex(1);
	extree1.FilterBarPromptVisible(true);
	extree1.FilterBarPromptType(12802/*exFilterPromptWords | exFilterPromptContainsAny*/);
	extree1.FilterBarPromptPattern("london nancy");
	var_Columns = extree1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	var_Items = extree1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem("Nancy Davolio");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Andrew Fuller");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Vice President, Sales");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Tacoma");
		com_Items.SelectItem(h0,true);
		h0 = com_Items.AddItem("Janet Leverling");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Kirkland");
		h0 = com_Items.AddItem("Margaret Peacock");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Redmond");
		h0 = com_Items.AddItem("Steven Buchanan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Manager");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Michael Suyama");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Robert King");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Laura Callahan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Inside Sales Coordinator");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Anne Dodsworth");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
	extree1.EndUpdate();
}
436
How can I list all items that contains all specified words, not strings

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h0;
	;

	super();

	extree1.BeginUpdate();
	extree1.ColumnAutoResize(true);
	extree1.ContinueColumnScroll(0);
	extree1.MarkSearchColumn(false);
	extree1.SearchColumnIndex(1);
	extree1.FilterBarPromptVisible(true);
	extree1.FilterBarPromptType(12801/*exFilterPromptWords | exFilterPromptContainsAll*/);
	extree1.FilterBarPromptPattern("london robert");
	var_Columns = extree1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	var_Items = extree1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem("Nancy Davolio");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Andrew Fuller");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Vice President, Sales");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Tacoma");
		com_Items.SelectItem(h0,true);
		h0 = com_Items.AddItem("Janet Leverling");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Kirkland");
		h0 = com_Items.AddItem("Margaret Peacock");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Redmond");
		h0 = com_Items.AddItem("Steven Buchanan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Manager");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Michael Suyama");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Robert King");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Laura Callahan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Inside Sales Coordinator");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Anne Dodsworth");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
	extree1.EndUpdate();
}
435
I've noticed that the filtering by prompt is not case sensitive, is is possible to make it case sensitive

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h0;
	;

	super();

	extree1.BeginUpdate();
	extree1.ColumnAutoResize(true);
	extree1.ContinueColumnScroll(0);
	extree1.MarkSearchColumn(false);
	extree1.SearchColumnIndex(1);
	extree1.FilterBarPromptVisible(true);
	extree1.FilterBarPromptType(258/*exFilterPromptCaseSensitive | exFilterPromptContainsAny*/);
	extree1.FilterBarPromptPattern("Anne");
	var_Columns = extree1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	var_Items = extree1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem("Nancy Davolio");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Andrew Fuller");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Vice President, Sales");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Tacoma");
		com_Items.SelectItem(h0,true);
		h0 = com_Items.AddItem("Janet Leverling");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Kirkland");
		h0 = com_Items.AddItem("Margaret Peacock");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Redmond");
		h0 = com_Items.AddItem("Steven Buchanan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Manager");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Michael Suyama");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Robert King");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Laura Callahan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Inside Sales Coordinator");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Anne Dodsworth");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
	extree1.EndUpdate();
}
434
Is it possible to list only items that ends with any of specified strings

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h0;
	;

	super();

	extree1.BeginUpdate();
	extree1.ColumnAutoResize(true);
	extree1.ContinueColumnScroll(0);
	extree1.MarkSearchColumn(false);
	extree1.SearchColumnIndex(1);
	extree1.FilterBarPromptVisible(true);
	extree1.FilterBarPromptType(4/*exFilterPromptEndWith*/);
	extree1.FilterBarPromptColumns("0");
	extree1.FilterBarPromptPattern("Fuller");
	var_Columns = extree1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	var_Items = extree1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem("Nancy Davolio");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Andrew Fuller");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Vice President, Sales");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Tacoma");
		com_Items.SelectItem(h0,true);
		h0 = com_Items.AddItem("Janet Leverling");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Kirkland");
		h0 = com_Items.AddItem("Margaret Peacock");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Redmond");
		h0 = com_Items.AddItem("Steven Buchanan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Manager");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Michael Suyama");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Robert King");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Laura Callahan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Inside Sales Coordinator");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Anne Dodsworth");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
	extree1.EndUpdate();
}
433
Is it possible to list only items that ends with any of specified strings

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h0;
	;

	super();

	extree1.BeginUpdate();
	extree1.ColumnAutoResize(true);
	extree1.ContinueColumnScroll(0);
	extree1.MarkSearchColumn(false);
	extree1.SearchColumnIndex(1);
	extree1.FilterBarPromptVisible(true);
	extree1.FilterBarPromptType(4/*exFilterPromptEndWith*/);
	extree1.FilterBarPromptColumns("0");
	extree1.FilterBarPromptPattern("Fuller");
	var_Columns = extree1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	var_Items = extree1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem("Nancy Davolio");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Andrew Fuller");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Vice President, Sales");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Tacoma");
		com_Items.SelectItem(h0,true);
		h0 = com_Items.AddItem("Janet Leverling");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Kirkland");
		h0 = com_Items.AddItem("Margaret Peacock");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Redmond");
		h0 = com_Items.AddItem("Steven Buchanan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Manager");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Michael Suyama");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Robert King");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Laura Callahan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Inside Sales Coordinator");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Anne Dodsworth");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
	extree1.EndUpdate();
}
432
Is it possible to list only items that starts with any of specified strings

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h0;
	;

	super();

	extree1.BeginUpdate();
	extree1.ColumnAutoResize(true);
	extree1.ContinueColumnScroll(0);
	extree1.MarkSearchColumn(false);
	extree1.SearchColumnIndex(1);
	extree1.FilterBarPromptVisible(true);
	extree1.FilterBarPromptType(3/*exFilterPromptStartWith*/);
	extree1.FilterBarPromptColumns("0");
	extree1.FilterBarPromptPattern("An M");
	var_Columns = extree1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	var_Items = extree1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem("Nancy Davolio");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Andrew Fuller");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Vice President, Sales");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Tacoma");
		com_Items.SelectItem(h0,true);
		h0 = com_Items.AddItem("Janet Leverling");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Kirkland");
		h0 = com_Items.AddItem("Margaret Peacock");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Redmond");
		h0 = com_Items.AddItem("Steven Buchanan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Manager");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Michael Suyama");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Robert King");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Laura Callahan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Inside Sales Coordinator");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Anne Dodsworth");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
	extree1.EndUpdate();
}
431
Is it possible to list only items that starts with specified string

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h0;
	;

	super();

	extree1.BeginUpdate();
	extree1.ColumnAutoResize(true);
	extree1.ContinueColumnScroll(0);
	extree1.MarkSearchColumn(false);
	extree1.SearchColumnIndex(1);
	extree1.FilterBarPromptVisible(true);
	extree1.FilterBarPromptType(3/*exFilterPromptStartWith*/);
	extree1.FilterBarPromptColumns("0");
	extree1.FilterBarPromptPattern("A");
	var_Columns = extree1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	var_Items = extree1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem("Nancy Davolio");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Andrew Fuller");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Vice President, Sales");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Tacoma");
		com_Items.SelectItem(h0,true);
		h0 = com_Items.AddItem("Janet Leverling");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Kirkland");
		h0 = com_Items.AddItem("Margaret Peacock");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Redmond");
		h0 = com_Items.AddItem("Steven Buchanan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Manager");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Michael Suyama");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Robert King");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Laura Callahan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Inside Sales Coordinator");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Anne Dodsworth");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
	extree1.EndUpdate();
}
430
How can I specify that the list should include any of the seqeunces in the pattern

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h0;
	;

	super();

	extree1.BeginUpdate();
	extree1.ColumnAutoResize(true);
	extree1.ContinueColumnScroll(0);
	extree1.MarkSearchColumn(false);
	extree1.SearchColumnIndex(1);
	extree1.FilterBarPromptVisible(true);
	extree1.FilterBarPromptType(2/*exFilterPromptContainsAny*/);
	extree1.FilterBarPromptPattern("london seattle");
	var_Columns = extree1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	var_Items = extree1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem("Nancy Davolio");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Andrew Fuller");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Vice President, Sales");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Tacoma");
		com_Items.SelectItem(h0,true);
		h0 = com_Items.AddItem("Janet Leverling");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Kirkland");
		h0 = com_Items.AddItem("Margaret Peacock");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Redmond");
		h0 = com_Items.AddItem("Steven Buchanan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Manager");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Michael Suyama");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Robert King");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Laura Callahan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Inside Sales Coordinator");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Anne Dodsworth");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
	extree1.EndUpdate();
}
429
How can I specify that all sequences in the filter pattern must be included in the list

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h0;
	;

	super();

	extree1.BeginUpdate();
	extree1.ColumnAutoResize(true);
	extree1.ContinueColumnScroll(0);
	extree1.MarkSearchColumn(false);
	extree1.SearchColumnIndex(1);
	extree1.FilterBarPromptVisible(true);
	extree1.FilterBarPromptType(1/*exFilterPromptContainsAll*/);
	extree1.FilterBarPromptPattern("london manager");
	var_Columns = extree1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	var_Items = extree1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem("Nancy Davolio");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Andrew Fuller");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Vice President, Sales");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Tacoma");
		com_Items.SelectItem(h0,true);
		h0 = com_Items.AddItem("Janet Leverling");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Kirkland");
		h0 = com_Items.AddItem("Margaret Peacock");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Redmond");
		h0 = com_Items.AddItem("Steven Buchanan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Manager");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Michael Suyama");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Robert King");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Laura Callahan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Inside Sales Coordinator");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Anne Dodsworth");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
	extree1.EndUpdate();
}
428
How do I change at runtime the filter prompt

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h0;
	;

	super();

	extree1.BeginUpdate();
	extree1.ColumnAutoResize(true);
	extree1.ContinueColumnScroll(0);
	extree1.MarkSearchColumn(false);
	extree1.SearchColumnIndex(1);
	extree1.FilterBarPromptVisible(true);
	extree1.FilterBarPromptPattern("london manager");
	var_Columns = extree1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	var_Items = extree1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem("Nancy Davolio");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Andrew Fuller");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Vice President, Sales");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Tacoma");
		com_Items.SelectItem(h0,true);
		h0 = com_Items.AddItem("Janet Leverling");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Kirkland");
		h0 = com_Items.AddItem("Margaret Peacock");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Redmond");
		h0 = com_Items.AddItem("Steven Buchanan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Manager");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Michael Suyama");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Robert King");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Laura Callahan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Inside Sales Coordinator");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Anne Dodsworth");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
	extree1.EndUpdate();
}
427
How do I specify to filter only a single column when using the filter prompt

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h0;
	;

	super();

	extree1.BeginUpdate();
	extree1.ColumnAutoResize(true);
	extree1.ContinueColumnScroll(0);
	extree1.MarkSearchColumn(false);
	extree1.SearchColumnIndex(1);
	extree1.FilterBarPromptVisible(true);
	extree1.FilterBarPromptColumns("2,3");
	extree1.FilterBarPromptPattern("london");
	var_Columns = extree1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	var_Items = extree1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem("Nancy Davolio");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Andrew Fuller");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Vice President, Sales");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Tacoma");
		com_Items.SelectItem(h0,true);
		h0 = com_Items.AddItem("Janet Leverling");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Kirkland");
		h0 = com_Items.AddItem("Margaret Peacock");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Redmond");
		h0 = com_Items.AddItem("Steven Buchanan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Manager");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Michael Suyama");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Robert King");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Laura Callahan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Inside Sales Coordinator");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Anne Dodsworth");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
	extree1.EndUpdate();
}
426
How do I change the prompt or the caption being displayed in the filter bar

public void init()
{
	COM com_Columns;
	anytype var_Columns;
	;

	super();

	extree1.BeginUpdate();
	extree1.ColumnAutoResize(true);
	extree1.ContinueColumnScroll(0);
	extree1.MarkSearchColumn(false);
	extree1.SearchColumnIndex(1);
	extree1.FilterBarPromptVisible(true);
	extree1.FilterBarPrompt("changed");
	var_Columns = extree1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	extree1.EndUpdate();
}
425
How do I enable the filter prompt feature

public void init()
{
	COM com_Columns,com_Items;
	anytype var_Columns,var_Items;
	int h0;
	;

	super();

	extree1.BeginUpdate();
	extree1.ColumnAutoResize(true);
	extree1.ContinueColumnScroll(0);
	extree1.MarkSearchColumn(false);
	extree1.SearchColumnIndex(1);
	extree1.FilterBarPromptVisible(true);
	var_Columns = extree1.Columns(); com_Columns = var_Columns;
		COM::createFromVariant(com_Columns.Add("Name")).Width(96);
		COM::createFromVariant(com_Columns.Add("Title")).Width(96);
		com_Columns.Add("City");
	var_Items = extree1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem("Nancy Davolio");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Andrew Fuller");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Vice President, Sales");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Tacoma");
		com_Items.SelectItem(h0,true);
		h0 = com_Items.AddItem("Janet Leverling");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Kirkland");
		h0 = com_Items.AddItem("Margaret Peacock");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Redmond");
		h0 = com_Items.AddItem("Steven Buchanan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Manager");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Michael Suyama");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Robert King");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
		h0 = com_Items.AddItem("Laura Callahan");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Inside Sales Coordinator");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"Seattle");
		h0 = com_Items.AddItem("Anne Dodsworth");
		com_Items.CellCaption(h0,COMVariant::createFromInt(1),"Sales Representative");
		com_Items.CellCaption(h0,COMVariant::createFromInt(2),"London");
	extree1.EndUpdate();
}
424
I have an EBN file how can I apply different colors to it, so no need to create a new one

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h,hC;
	;

	super();

	extree1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	extree1.SelBackColor(extree1.BackColor());
	extree1.SelForeColor(extree1.ForeColor());
	extree1.HasLines(0/*exNoLine*/);
	extree1.Columns().Add("Default");
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		hC = com_Items.InsertItem(h,,"Default");
		com_Items.ItemBackColor(hC,0x1000000);
		com_Items.ItemHeight(com_Items.InsertItem(h,,""),6);
		hC = com_Items.InsertItem(h,,"Light Green");
		com_Items.ItemBackColor(hC,0x100ff00);
		com_Items.ItemHeight(com_Items.InsertItem(h,,""),6);
		hC = com_Items.InsertItem(h,,"Dark Green");
		com_Items.ItemBackColor(hC,0x1007f00);
		com_Items.ItemHeight(com_Items.InsertItem(h,,""),6);
		hC = com_Items.InsertItem(h,,"Magenta");
		com_Items.ItemBackColor(hC,0x1ff7fff);
		com_Items.ItemHeight(com_Items.InsertItem(h,,""),6);
		hC = com_Items.InsertItem(h,,"Yellow");
		com_Items.ItemBackColor(hC,0x17fffff);
		com_Items.ItemHeight(com_Items.InsertItem(h,,""),6);
		com_Items.ExpandItem(h,true);
}
423
How can I change the foreground color for a particular column

public void init()
{
	COM com_Columns;
	anytype var_Columns;
	;

	super();

	var_Columns = extree1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Column 1");
		COM::createFromVariant(com_Columns.Add("Column 2")).Def(8/*exHeaderForeColor*/,COMVariant::createFromInt(8439039));
		com_Columns.Add("Column 3");
}
422
How can I change the background color for a particular column

public void init()
{
	COM com_Columns;
	anytype var_Columns;
	;

	super();

	var_Columns = extree1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Column 1");
		COM::createFromVariant(com_Columns.Add("Column 2")).Def(7/*exHeaderBackColor*/,COMVariant::createFromInt(8439039));
		com_Columns.Add("Column 3");
}
421
How can I display the column using currency format and enlarge the font for certain values

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	var_Column = COM::createFromVariant(extree1.Columns().Add("Currency")); com_Column = var_Column;
		com_Column.Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
		com_Column.FormatColumn("len(value) ? ((0:=dbl(value)) < 10 ? '<fgcolor=808080><font ;7>' : '<b>') + currency(=:0)");
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.AddItem("1.23");
		com_Items.AddItem("2.34");
		com_Items.AddItem("9.94");
		com_Items.AddItem("11.94");
		com_Items.AddItem("1000");
}
420
How can I highlight only parts of the cells

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	var_Column = COM::createFromVariant(extree1.Columns().Add("")); com_Column = var_Column;
		com_Column.Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
		com_Column.FormatColumn("value replace 'hil' with '<fgcolor=FF0000><b>hil</b></fgcolor>'");
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"Child 3");
		com_Items.ExpandItem(h,true);
}
419
How can I get the number of occurrences of a specified string in the cell

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	extree1.Columns().Add("");
	var_Column = COM::createFromVariant(extree1.Columns().Add("occurrences")); com_Column = var_Column;
		com_Column.ComputedField("lower(%0) count 'o'");
		com_Column.FormatColumn("'contains ' + value + ' of \\'o\\' chars'");
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1 oooof the root");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"Child 3");
		com_Items.ExpandItem(h,true);
}
418
How can I display dates in my format

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	var_Column = COM::createFromVariant(extree1.Columns().Add("Date")); com_Column = var_Column;
		com_Column.Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
		com_Column.FormatColumn("'<b>' + year(0:=date(value)) + '</b><fgcolor=808080><font ;6> (' + month(=:0) + ' - ' + day(=:0) +')'");
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromDate(str2Date("1/21/2001",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("2/22/2002",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("3/13/2003",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("4/24/2004",213)));
}
417
How can I display dates in short format

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	COM::createFromVariant(extree1.Columns().Add("Date")).FormatColumn("shortdate(value)");
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("2/2/2002",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("3/3/2003",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("4/4/2004",213)));
}
416
How can I display dates in long format

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	COM::createFromVariant(extree1.Columns().Add("Date")).FormatColumn("longdate(value)");
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("2/2/2002",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("3/3/2003",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("4/4/2004",213)));
}
415
How can I display only the right part of the cell

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	extree1.Columns().Add("");
	var_Column = COM::createFromVariant(extree1.Columns().Add("Right")); com_Column = var_Column;
		com_Column.ComputedField("%0 right 2");
		com_Column.FormatColumn("'\"' + value + '\"'");
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"SChild 3");
		com_Items.ExpandItem(h,true);
}
414
How can I display only the left part of the cell

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	extree1.Columns().Add("");
	COM::createFromVariant(extree1.Columns().Add("Left")).ComputedField("%0 left 2");
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"SChild 3");
		com_Items.ExpandItem(h,true);
}
413
How can I display true or false instead 0 and -1

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	COM::createFromVariant(extree1.Columns().Add("Boolean")).FormatColumn("value != 0 ? 'true' : 'false'");
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromBoolean(true));
		com_Items.AddItem(COMVariant::createFromBoolean(false));
		com_Items.AddItem(COMVariant::createFromBoolean(true));
		com_Items.AddItem(COMVariant::createFromInt(0));
		com_Items.AddItem(COMVariant::createFromInt(1));
}
412
How can I display icons or images instead numbers

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	str var_s;
	;

	super();

	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	extree1.Images(COMVariant::createFromStr(var_s));
	var_Column = COM::createFromVariant(extree1.Columns().Add("Icons")); com_Column = var_Column;
		com_Column.Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
		com_Column.FormatColumn("'The cell displays the icon <img>'+value+'</img> instead ' + value");
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromInt(1));
		com_Items.AddItem(COMVariant::createFromInt(2));
		com_Items.AddItem(COMVariant::createFromInt(3));
}
411
How can I display the column using currency

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	COM::createFromVariant(extree1.Columns().Add("Currency")).FormatColumn("currency(dbl(value))");
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.AddItem("1.23");
		com_Items.AddItem("2.34");
		com_Items.AddItem("0");
		com_Items.AddItem(COMVariant::createFromInt(5));
		com_Items.AddItem("10000.99");
}
410
How can I display the currency only for not empty cells

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	extree1.Columns().Add("Number");
	COM::createFromVariant(extree1.Columns().Add("Currency")).ComputedField("len(%0) ? currency(dbl(%0)) : ''");
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.AddItem("1.23");
		com_Items.AddItem("2.34");
		com_Items.AddItem("0");
		com_Items.ItemBackColor(com_Items.AddItem(),WinApi::RGB2int(255,128,128));
		com_Items.AddItem("10000.99");
}
409
Is there a function to display the number of days between two date including the number of hours

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	str var_s;
	;

	super();

	COM::createFromVariant(extree1.Columns().Add("Start")).Width(32);
	extree1.Columns().Add("End");
	var_s = "2:=((1:=int(0:= date(%1)-date(%0))) = 0 ? '' : str(=:1) + ' day(s)') + ( 3:=round(24*(=:0-floor(=:0))) ? (len(=:2) ? ' and ' : '";
	var_s = var_s + "') + =:3 + ' hour(s)' : '' )";
	COM::createFromVariant(extree1.Columns().Add("Duration")).ComputedField(var_s);
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem(COMVariant::createFromDate(str2Date("1/11/2001",213)));
		com_Items.CellCaption(h,COMVariant::createFromInt(1),COMVariant::createFromDate(str2Date("1/14/2001",213)));
		h = com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("2/22/2002 12:00:00",213)));
		com_Items.CellCaption(h,COMVariant::createFromInt(1),COMVariant::createFromUtcDateTime(str2Datetime("3/14/2002 13:00:00",213)));
		h = com_Items.AddItem(COMVariant::createFromDate(str2Date("3/13/2003",213)));
		com_Items.CellCaption(h,COMVariant::createFromInt(1),COMVariant::createFromUtcDateTime(str2Datetime("4/11/2003 11:00:00",213)));
}
408
Is there a function to display the number of days between two date including the number of hours

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	extree1.Columns().Add("Start");
	extree1.Columns().Add("End");
	COM::createFromVariant(extree1.Columns().Add("Duration")).ComputedField("\"D \" + int(date(%1)-date(%0)) + \" H \" + round(24*(date(%1)-date(%0) - floor(date(%1)-date(%0))))");
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem(COMVariant::createFromDate(str2Date("1/11/2001",213)));
		com_Items.CellCaption(h,COMVariant::createFromInt(1),COMVariant::createFromUtcDateTime(str2Datetime("1/14/2001 23:00:00",213)));
		h = com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("2/22/2002 12:00:00",213)));
		com_Items.CellCaption(h,COMVariant::createFromInt(1),COMVariant::createFromUtcDateTime(str2Datetime("3/14/2002 13:00:00",213)));
		h = com_Items.AddItem(COMVariant::createFromDate(str2Date("3/13/2003",213)));
		com_Items.CellCaption(h,COMVariant::createFromInt(1),COMVariant::createFromUtcDateTime(str2Datetime("4/11/2003 11:00:00",213)));
}
407
How can I display the number of days between two dates

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	extree1.Columns().Add("Start");
	extree1.Columns().Add("End");
	COM::createFromVariant(extree1.Columns().Add("Duration")).ComputedField("(date(%1)-date(%0)) + ' days'");
	var_Items = extree1.Items(); com_Items = var_Items;
		h = com_Items.AddItem(COMVariant::createFromDate(str2Date("1/11/2001",213)));
		com_Items.CellCaption(h,COMVariant::createFromInt(1),COMVariant::createFromDate(str2Date("1/14/2001",213)));
		h = com_Items.AddItem(COMVariant::createFromDate(str2Date("2/22/2002",213)));
		com_Items.CellCaption(h,COMVariant::createFromInt(1),COMVariant::createFromDate(str2Date("3/14/2002",213)));
		h = com_Items.AddItem(COMVariant::createFromDate(str2Date("3/13/2003",213)));
		com_Items.CellCaption(h,COMVariant::createFromInt(1),COMVariant::createFromDate(str2Date("4/11/2003",213)));
}
406
How can I get second part of the date

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	extree1.Columns().Add("Date");
	COM::createFromVariant(extree1.Columns().Add("Second")).ComputedField("sec(date(%0))");
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("1/11/2001 10:10:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("2/22/2002 11:01:22",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("3/13/2003 12:23:01",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("4/14/2004 13:11:59",213)));
}
405
How can I get minute part of the date

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	extree1.Columns().Add("Date");
	COM::createFromVariant(extree1.Columns().Add("Minute")).ComputedField("min(date(%0))");
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("1/11/2001 10:10:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("2/22/2002 11:01:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("3/13/2003 12:23:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("4/14/2004 13:11:00",213)));
}
404
How can I check the hour part only so I know it was afternoon

public void init()
{
	COM com_ConditionalFormat,com_Items;
	anytype var_ConditionalFormat,var_Items;
	;

	super();

	var_ConditionalFormat = COM::createFromObject(extree1.ConditionalFormats()).Add("hour(%0)>=12"); com_ConditionalFormat = var_ConditionalFormat;
	com_ConditionalFormat.Bold(true);
	extree1.Columns().Add("Date");
	COM::createFromVariant(extree1.Columns().Add("Hour")).ComputedField("hour(%0)");
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("1/11/2001 10:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("2/22/2002 11:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("3/13/2003 12:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("4/14/2004 13:00:00",213)));
}
403
What about a function to get the day in the week, or days since Sunday

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	extree1.Columns().Add("Date");
	COM::createFromVariant(extree1.Columns().Add("WeekDay")).ComputedField("weekday(%0)");
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("1/11/2001 10:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("2/22/2002 11:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("3/13/2003 12:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("4/14/2004 13:00:00",213)));
}
402
Is there any function to get the day of the year or number of days since January 1st

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	extree1.Columns().Add("Date");
	COM::createFromVariant(extree1.Columns().Add("Day since January 1st")).ComputedField("yearday(%0)");
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("1/11/2001 10:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("2/22/2002 11:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("3/13/2003 12:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("4/14/2004 13:00:00",213)));
}
401
How can I display only the day of the date

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	extree1.Columns().Add("Date");
	COM::createFromVariant(extree1.Columns().Add("Day")).ComputedField("day(%0)");
	var_Items = extree1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("1/11/2001 10:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("2/22/2002 11:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("3/13/2003 12:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("4/14/2004 13:00:00",213)));
}